﻿using BBICMS.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace BBICMS.Model
{
    public class Blog : AuditableEntity<int>
    {
      

        [Display(Name = "分类名称")]
        public string Title { get; set; }

        [Display(Name = "排序")]
        public int Importance { get; set; }

         [Display(Name = "状态")]
        public bool Active { get; set; }
  

        public virtual ICollection<Post> Posts { get; set; }
        public Blog()
        {
            this.Posts = new List<Post>();
        }
    }
}
